<!--右边栏 Start-->
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
{{if type == 'success'}}        
            <!-- 发布成功  开始 -->
            <div class="resultbox">
                <div class="resultcon">
                    <div class="result-info">
                        <div class="icon-img"><i class="iconfont dui">&#xe60b;</i></div>
                        <div class="info-con">
                            <div class="bigtitle">商品发布成功！</div>
                            <div class="smallinfo">
                            	<ul>
                            		<li><span class="mlr5">&gt;</span><a href="#goods/releasegoods">继续发布新商品</a></li>
                            		<li><span class="mlr5">&gt;</span><a href="#goods/releasegoods/{{id}}">编辑刚发布的商品</a></li>
                            		<li><span class="mlr5">&gt;</span><a href="#home">返回首页</a></li>
                            	</ul>
                            </div>
                        </div>
                        <div class="clearit"></div>
                    </div>
                </div>
            </div>
            <!-- 发布成功  结束 -->
{{else if type == 'success2'}}  
            <!-- 发布成功  开始 -->
            <div class="resultbox">
                <div class="resultcon">
                    <div class="result-info">
                        <div class="icon-img"><i class="iconfont dui">&#xe60b;</i></div>
                        <div class="info-con">
                            <div class="bigtitle">商品保存到仓库中成功！</div>
                            <div class="smallinfo">
                            	<ul>
                            		<li><span class="mlr5">&gt;</span><a href="#goods/releasegoods">继续发布新商品</a></li>
                            		<li><span class="mlr5">&gt;</span><a href="#goods/releasegoods/{{id}}">编辑刚发布的商品</a></li>
                            		<li><span class="mlr5">&gt;</span><a href="#home">返回首页</a></li>
                            	</ul>
                            </div>
                        </div>
                        <div class="clearit"></div>
                    </div>
                </div>
            </div>
            <!-- 发布成功  结束 -->
{{else if type == 'success3'}}  
            <!-- 发布成功  开始 -->
            <div class="resultbox">
                <div class="resultcon">
                    <div class="result-info">
                        <div class="icon-img"><i class="iconfont dui">&#xe60b;</i></div>
                        <div class="info-con">
                            <div class="bigtitle">商品编辑成功！</div>
                            <div class="smallinfo" style="display: none;">
                            	<ul>
                            	<li><span class="mlr5">&gt;</span><a href="#goods/releasegoods">继续发布新商品</a></li>
                            	<li><span class="mlr5">&gt;</span><a href="#goods/releasegoods/{{id}}">编辑刚发布的商品</a></li>
                            	<li><span class="mlr5">&gt;</span><a href="#home">返回首页</a></li>
                            	</ul>
                            </div>
                        </div>
                        <div class="clearit"></div>
                    </div>
                </div>
            </div>
            <script type="text/javascript">
            	autojumptimeout = window.setTimeout(function(){
            		history.go(-2);
            	},3000);
            </script>
            <!-- 发布成功  结束 -->
{{else if type == 'error'}}  
            <!-- 发布失败  开始 -->
            <div class="resultbox">
                <div class="resultcon">
                    <div class="result-info">
                        <div class="icon-img"><i class="iconfont cuo">&#xe60c;</i></div>
                        <div class="info-con">
                            <div class="bigtitle redfont">信息提交超时！</div>
                            <div class="smallinfo">
                                <a href="#goods/releasegoods">继续发布新商品</a><span class="mlr5">&gt;</span><a href="#">返回首页</a>
                            </div>
                        </div>
                        <div class="clearit"></div>
                    </div>
                </div>
            </div>
            <!-- 发布成功  结束 -->

{{else if type == 'editerror'}}  
            <!-- 发布失败  开始 -->
            <div class="resultbox">
                <div class="resultcon">
                    <div class="result-info">
                        <div class="icon-img"><i class="iconfont cuo">&#xe60c;</i></div>
                        <div class="info-con">
                            <div class="bigtitle redfont">商品编辑失败！</div>
                        </div>
                        <div class="clearit"></div>
                    </div>
                </div>
            </div>
            <script type="text/javascript">
            	autojumptimeout = window.setTimeout(function(){
            		history.go(-2);
            	},3000);
            </script>
            <!-- 发布成功  结束 -->
{{else}}  
            <!-- 发布失败  开始 -->
            <div class="resultbox">
                <div class="resultcon">
                    <div class="result-info">
                        <div class="icon-img"><i class="iconfont cuo">&#xe60c;</i></div>
                        <div class="info-con">
                            <div class="bigtitle redfont">{{type}}</div>
                        </div>
                        <div class="clearit"></div>
                    </div>
                </div>
            </div>
            <script type="text/javascript">
            	autojumptimeout = window.setTimeout(function(){
            		location.hash='#home';
            	},3000);
            </script>
            <!-- 发布成功  结束 -->
{{/if}}
        </div>
    </div>
</div>
<!--右边栏 End-->
